package cn.npe.middleware.db.router.strategy.impl;

import cn.npe.middleware.db.router.DBRouterConfig;
import cn.npe.middleware.db.router.strategy.IDBRouterStrategy;

/**
 * packageName cn.npe.middleware.db.router.strategy.impl
 *
 * @author zhjx
 * @className DBRouterStrategyTest (此处以class为例)
 * @date 2024/3/27
 * @description 测试用
 */

public class DBRouterStrategyTest implements IDBRouterStrategy {
    private DBRouterConfig dbRouterConfig;

    public DBRouterStrategyTest(DBRouterConfig dbRouterConfig) {
        this.dbRouterConfig = dbRouterConfig;
    }
    @Override
    public void doRouter(String dbKeyAttr) {
      String x="xx";
    }

    @Override
    public void setDBKey(int dbIdx) {

    }

    @Override
    public void setTBKey(int tbIdx) {

    }

    @Override
    public int dbCount() {
        return 0;
    }

    @Override
    public int tbCount() {
        return 0;
    }

    @Override
    public void clear() {

    }
}